import React from 'react'
import { Tabs } from 'antd';
import BatchManage from './BatchManage';

const onChange = (key) => {
  console.log(key);
};

export default function AppManage(props) {
  const items = [
    {
      key: '1',
      label: `批量管理`,
      children:
        <BatchManage />
    },
    {
      key: '2',
      label: `管理记录`,
      children: `Content of Tab Pane 2`,
    }
  ];
  return (
    <div style={{ margin: "15px 0", background: "white", minHeight: "545px", height: document.documentElement.clientHeight - 135 }}>
      <Tabs defaultActiveKey="1" items={items} onChange={onChange}
        style={{ fontSize: "12px", background: "white", margin: "15px 0", paddingBottom: "10px" }}
      />
    </div>
  )
}

